package com.ourteam.product.model.dao;

/**
 * Template Name : DAO数据对象
 * Template Version : 1
 * Template Last Modfiy Date : Fri Aug 18 15:51:23 IRKT 2017
 * Auto Generate Date : 2017-11-17 11:00:51
  * Warning ! This file will be overwrite when regenerate !
  *
 */
import org.apache.commons.lang.StringUtils;


public class ProductModelPropertyRelate implements java.io.Serializable {
    private long id;

    /**
     * Attribute id Be Seted Falg
     */
    private boolean idSetted = false;

    /**
    * Attribute id is Null Falg
    */
    private boolean idNull = false;
    private String relateCode;

    /**
     * Attribute relateCode Be Seted Falg
     */
    private boolean relateCodeSetted = false;

    /**
    * Attribute relateCode is Null Falg
    */
    private boolean relateCodeNull = false;
    private String relateName;

    /**
     * Attribute relateName Be Seted Falg
     */
    private boolean relateNameSetted = false;

    /**
    * Attribute relateName is Null Falg
    */
    private boolean relateNameNull = false;
    private long propertyId;

    /**
     * Attribute propertyId Be Seted Falg
     */
    private boolean propertyIdSetted = false;

    /**
    * Attribute propertyId is Null Falg
    */
    private boolean propertyIdNull = false;
    private long relatedPropertyId;

    /**
     * Attribute relatedPropertyId Be Seted Falg
     */
    private boolean relatedPropertyIdSetted = false;

    /**
    * Attribute relatedPropertyId is Null Falg
    */
    private boolean relatedPropertyIdNull = false;
    private String relatedType;

    /**
     * Attribute relatedType Be Seted Falg
     */
    private boolean relatedTypeSetted = false;

    /**
    * Attribute relatedType is Null Falg
    */
    private boolean relatedTypeNull = false;
    private String relatedConfig;

    /**
     * Attribute relatedConfig Be Seted Falg
     */
    private boolean relatedConfigSetted = false;

    /**
    * Attribute relatedConfig is Null Falg
    */
    private boolean relatedConfigNull = false;
    private int sortIndex;

    /**
     * Attribute sortIndex Be Seted Falg
     */
    private boolean sortIndexSetted = false;

    /**
    * Attribute sortIndex is Null Falg
    */
    private boolean sortIndexNull = false;
    private String status;

    /**
     * Attribute status Be Seted Falg
     */
    private boolean statusSetted = false;

    /**
    * Attribute status is Null Falg
    */
    private boolean statusNull = false;
    private String remarks;

    /**
     * Attribute remarks Be Seted Falg
     */
    private boolean remarksSetted = false;

    /**
    * Attribute remarks is Null Falg
    */
    private boolean remarksNull = false;
    private long objectRelatedId;

    /**
     * Attribute objectRelatedId Be Seted Falg
     */
    private boolean objectRelatedIdSetted = false;

    /**
    * Attribute objectRelatedId is Null Falg
    */
    private boolean objectRelatedIdNull = false;
    private String relatedPropertyName;

    /**
     * Attribute relatedPropertyName Be Seted Falg
     */
    private boolean relatedPropertyNameSetted = false;

    /**
    * Attribute relatedPropertyName is Null Falg
    */
    private boolean relatedPropertyNameNull = false;
    private String relatedPropertyDataType;

    /**
     * Attribute relatedPropertyDataType Be Seted Falg
     */
    private boolean relatedPropertyDataTypeSetted = false;

    /**
    * Attribute relatedPropertyDataType is Null Falg
    */
    private boolean relatedPropertyDataTypeNull = false;
    private long relatedPropertyDataTypeId;

    /**
     * Attribute relatedPropertyDataTypeId Be Seted Falg
     */
    private boolean relatedPropertyDataTypeIdSetted = false;

    /**
    * Attribute relatedPropertyDataTypeId is Null Falg
    */
    private boolean relatedPropertyDataTypeIdNull = false;
    private int relatedPropertyDataLength;

    /**
     * Attribute relatedPropertyDataLength Be Seted Falg
     */
    private boolean relatedPropertyDataLengthSetted = false;

    /**
    * Attribute relatedPropertyDataLength is Null Falg
    */
    private boolean relatedPropertyDataLengthNull = false;
    private int relatedPropertyDataAccuracy;

    /**
     * Attribute relatedPropertyDataAccuracy Be Seted Falg
     */
    private boolean relatedPropertyDataAccuracySetted = false;

    /**
    * Attribute relatedPropertyDataAccuracy is Null Falg
    */
    private boolean relatedPropertyDataAccuracyNull = false;
    private String relatedPropertyIsAllowNull;

    /**
     * Attribute relatedPropertyIsAllowNull Be Seted Falg
     */
    private boolean relatedPropertyIsAllowNullSetted = false;

    /**
    * Attribute relatedPropertyIsAllowNull is Null Falg
    */
    private boolean relatedPropertyIsAllowNullNull = false;
    private String relatedPropertyisPrimaryKey;

    /**
     * Attribute relatedPropertyisPrimaryKey Be Seted Falg
     */
    private boolean relatedPropertyisPrimaryKeySetted = false;

    /**
    * Attribute relatedPropertyisPrimaryKey is Null Falg
    */
    private boolean relatedPropertyisPrimaryKeyNull = false;
    private String relatedPropertyIsAutoInc;

    /**
     * Attribute relatedPropertyIsAutoInc Be Seted Falg
     */
    private boolean relatedPropertyIsAutoIncSetted = false;

    /**
    * Attribute relatedPropertyIsAutoInc is Null Falg
    */
    private boolean relatedPropertyIsAutoIncNull = false;
    private long relatedPropertyObjectId;

    /**
     * Attribute relatedPropertyObjectId Be Seted Falg
     */
    private boolean relatedPropertyObjectIdSetted = false;

    /**
    * Attribute relatedPropertyObjectId is Null Falg
    */
    private boolean relatedPropertyObjectIdNull = false;
    private String relatedPropertyObjectName;

    /**
     * Attribute relatedPropertyObjectName Be Seted Falg
     */
    private boolean relatedPropertyObjectNameSetted = false;

    /**
    * Attribute relatedPropertyObjectName is Null Falg
    */
    private boolean relatedPropertyObjectNameNull = false;
    private String relatedPropertyObjectType;

    /**
     * Attribute relatedPropertyObjectType Be Seted Falg
     */
    private boolean relatedPropertyObjectTypeSetted = false;

    /**
    * Attribute relatedPropertyObjectType is Null Falg
    */
    private boolean relatedPropertyObjectTypeNull = false;
    private String propertyName;

    /**
     * Attribute propertyName Be Seted Falg
     */
    private boolean propertyNameSetted = false;

    /**
    * Attribute propertyName is Null Falg
    */
    private boolean propertyNameNull = false;
    private long propertyObjectId;

    /**
     * Attribute propertyObjectId Be Seted Falg
     */
    private boolean propertyObjectIdSetted = false;

    /**
    * Attribute propertyObjectId is Null Falg
    */
    private boolean propertyObjectIdNull = false;
    private String propertyDataType;

    /**
     * Attribute propertyDataType Be Seted Falg
     */
    private boolean propertyDataTypeSetted = false;

    /**
    * Attribute propertyDataType is Null Falg
    */
    private boolean propertyDataTypeNull = false;
    private String propertyObjectName;

    /**
     * Attribute propertyObjectName Be Seted Falg
     */
    private boolean propertyObjectNameSetted = false;

    /**
    * Attribute propertyObjectName is Null Falg
    */
    private boolean propertyObjectNameNull = false;
    private String propertyObjectType;

    /**
     * Attribute propertyObjectType Be Seted Falg
     */
    private boolean propertyObjectTypeSetted = false;

    /**
    * Attribute propertyObjectType is Null Falg
    */
    private boolean propertyObjectTypeNull = false;

    public ProductModelPropertyRelate() {
        super();
    }

    /**
         * Get id
         *
         * @return long
         */
    final public long getId() {
        return id;
    }

    /**
     * Set id
     *
     * @param long
     */
    final public void setId(long id) {
        this.id = id;

        this.idSetted = true;

        this.setIdNull(false);
    }

    /**
     * Get id Has Been Setted
     *
     * @return boolean
     */
    final public boolean isIdSetted() {
        return this.idSetted;
    }

    /**
     * Set id Null
     *
     */
    final public void setIdNull() {
        this.idNull = true;
    }

    final public void setIdNull(boolean aNullFlag) {
        this.idNull = aNullFlag;
    }

    final public boolean isIdNull() {
        return this.idNull;
    }

    /**
         * Get relateCode
         *
         * @return String
         */
    final public String getRelateCode() {
        if (isRelateCodeNull()) {
            return null;
        } else {
            return StringUtils.trim(relateCode);
        }
    }

    /**
     * Set relateCode
     *
     * @param String
     */
    final public void setRelateCode(String relateCode) {
        this.relateCode = StringUtils.trim(relateCode);

        this.relateCodeSetted = true;

        this.setRelateCodeNull(this.relateCode == null);
    }

    /**
     * Get relateCode Has Been Setted
     *
     * @return boolean
     */
    final public boolean isRelateCodeSetted() {
        return this.relateCodeSetted;
    }

    /**
     * Set relateCode Null
     *
     */
    final public void setRelateCodeNull() {
        this.relateCodeNull = true;
    }

    final public void setRelateCodeNull(boolean aNullFlag) {
        this.relateCodeNull = aNullFlag;
    }

    final public boolean isRelateCodeNull() {
        return this.relateCodeNull;
    }

    /**
         * Get relateName
         *
         * @return String
         */
    final public String getRelateName() {
        if (isRelateNameNull()) {
            return null;
        } else {
            return StringUtils.trim(relateName);
        }
    }

    /**
     * Set relateName
     *
     * @param String
     */
    final public void setRelateName(String relateName) {
        this.relateName = StringUtils.trim(relateName);

        this.relateNameSetted = true;

        this.setRelateNameNull(this.relateName == null);
    }

    /**
     * Get relateName Has Been Setted
     *
     * @return boolean
     */
    final public boolean isRelateNameSetted() {
        return this.relateNameSetted;
    }

    /**
     * Set relateName Null
     *
     */
    final public void setRelateNameNull() {
        this.relateNameNull = true;
    }

    final public void setRelateNameNull(boolean aNullFlag) {
        this.relateNameNull = aNullFlag;
    }

    final public boolean isRelateNameNull() {
        return this.relateNameNull;
    }

    /**
         * Get propertyId
         *
         * @return long
         */
    final public long getPropertyId() {
        return propertyId;
    }

    /**
     * Set propertyId
     *
     * @param long
     */
    final public void setPropertyId(long propertyId) {
        this.propertyId = propertyId;

        this.propertyIdSetted = true;

        this.setPropertyIdNull(false);
    }

    /**
     * Get propertyId Has Been Setted
     *
     * @return boolean
     */
    final public boolean isPropertyIdSetted() {
        return this.propertyIdSetted;
    }

    /**
     * Set propertyId Null
     *
     */
    final public void setPropertyIdNull() {
        this.propertyIdNull = true;
    }

    final public void setPropertyIdNull(boolean aNullFlag) {
        this.propertyIdNull = aNullFlag;
    }

    final public boolean isPropertyIdNull() {
        return this.propertyIdNull;
    }

    /**
         * Get relatedPropertyId
         *
         * @return long
         */
    final public long getRelatedPropertyId() {
        return relatedPropertyId;
    }

    /**
     * Set relatedPropertyId
     *
     * @param long
     */
    final public void setRelatedPropertyId(long relatedPropertyId) {
        this.relatedPropertyId = relatedPropertyId;

        this.relatedPropertyIdSetted = true;

        this.setRelatedPropertyIdNull(false);
    }

    /**
     * Get relatedPropertyId Has Been Setted
     *
     * @return boolean
     */
    final public boolean isRelatedPropertyIdSetted() {
        return this.relatedPropertyIdSetted;
    }

    /**
     * Set relatedPropertyId Null
     *
     */
    final public void setRelatedPropertyIdNull() {
        this.relatedPropertyIdNull = true;
    }

    final public void setRelatedPropertyIdNull(boolean aNullFlag) {
        this.relatedPropertyIdNull = aNullFlag;
    }

    final public boolean isRelatedPropertyIdNull() {
        return this.relatedPropertyIdNull;
    }

    /**
         * Get relatedType
         *
         * @return String
         */
    final public String getRelatedType() {
        if (isRelatedTypeNull()) {
            return null;
        } else {
            return StringUtils.trim(relatedType);
        }
    }

    /**
     * Set relatedType
     *
     * @param String
     */
    final public void setRelatedType(String relatedType) {
        this.relatedType = StringUtils.trim(relatedType);

        this.relatedTypeSetted = true;

        this.setRelatedTypeNull(this.relatedType == null);
    }

    /**
     * Get relatedType Has Been Setted
     *
     * @return boolean
     */
    final public boolean isRelatedTypeSetted() {
        return this.relatedTypeSetted;
    }

    /**
     * Set relatedType Null
     *
     */
    final public void setRelatedTypeNull() {
        this.relatedTypeNull = true;
    }

    final public void setRelatedTypeNull(boolean aNullFlag) {
        this.relatedTypeNull = aNullFlag;
    }

    final public boolean isRelatedTypeNull() {
        return this.relatedTypeNull;
    }

    /**
         * Get relatedConfig
         *
         * @return String
         */
    final public String getRelatedConfig() {
        if (isRelatedConfigNull()) {
            return null;
        } else {
            return StringUtils.trim(relatedConfig);
        }
    }

    /**
     * Set relatedConfig
     *
     * @param String
     */
    final public void setRelatedConfig(String relatedConfig) {
        this.relatedConfig = StringUtils.trim(relatedConfig);

        this.relatedConfigSetted = true;

        this.setRelatedConfigNull(this.relatedConfig == null);
    }

    /**
     * Get relatedConfig Has Been Setted
     *
     * @return boolean
     */
    final public boolean isRelatedConfigSetted() {
        return this.relatedConfigSetted;
    }

    /**
     * Set relatedConfig Null
     *
     */
    final public void setRelatedConfigNull() {
        this.relatedConfigNull = true;
    }

    final public void setRelatedConfigNull(boolean aNullFlag) {
        this.relatedConfigNull = aNullFlag;
    }

    final public boolean isRelatedConfigNull() {
        return this.relatedConfigNull;
    }

    /**
         * Get sortIndex
         *
         * @return int
         */
    final public int getSortIndex() {
        return sortIndex;
    }

    /**
     * Set sortIndex
     *
     * @param int
     */
    final public void setSortIndex(int sortIndex) {
        this.sortIndex = sortIndex;

        this.sortIndexSetted = true;

        this.setSortIndexNull(false);
    }

    /**
     * Get sortIndex Has Been Setted
     *
     * @return boolean
     */
    final public boolean isSortIndexSetted() {
        return this.sortIndexSetted;
    }

    /**
     * Set sortIndex Null
     *
     */
    final public void setSortIndexNull() {
        this.sortIndexNull = true;
    }

    final public void setSortIndexNull(boolean aNullFlag) {
        this.sortIndexNull = aNullFlag;
    }

    final public boolean isSortIndexNull() {
        return this.sortIndexNull;
    }

    /**
         * Get status
         *
         * @return String
         */
    final public String getStatus() {
        if (isStatusNull()) {
            return null;
        } else {
            return StringUtils.trim(status);
        }
    }

    /**
     * Set status
     *
     * @param String
     */
    final public void setStatus(String status) {
        this.status = StringUtils.trim(status);

        this.statusSetted = true;

        this.setStatusNull(this.status == null);
    }

    /**
     * Get status Has Been Setted
     *
     * @return boolean
     */
    final public boolean isStatusSetted() {
        return this.statusSetted;
    }

    /**
     * Set status Null
     *
     */
    final public void setStatusNull() {
        this.statusNull = true;
    }

    final public void setStatusNull(boolean aNullFlag) {
        this.statusNull = aNullFlag;
    }

    final public boolean isStatusNull() {
        return this.statusNull;
    }

    /**
         * Get remarks
         *
         * @return String
         */
    final public String getRemarks() {
        if (isRemarksNull()) {
            return null;
        } else {
            return StringUtils.trim(remarks);
        }
    }

    /**
     * Set remarks
     *
     * @param String
     */
    final public void setRemarks(String remarks) {
        this.remarks = StringUtils.trim(remarks);

        this.remarksSetted = true;

        this.setRemarksNull(this.remarks == null);
    }

    /**
     * Get remarks Has Been Setted
     *
     * @return boolean
     */
    final public boolean isRemarksSetted() {
        return this.remarksSetted;
    }

    /**
     * Set remarks Null
     *
     */
    final public void setRemarksNull() {
        this.remarksNull = true;
    }

    final public void setRemarksNull(boolean aNullFlag) {
        this.remarksNull = aNullFlag;
    }

    final public boolean isRemarksNull() {
        return this.remarksNull;
    }

    /**
         * Get objectRelatedId
         *
         * @return long
         */
    final public long getObjectRelatedId() {
        return objectRelatedId;
    }

    /**
     * Set objectRelatedId
     *
     * @param long
     */
    final public void setObjectRelatedId(long objectRelatedId) {
        this.objectRelatedId = objectRelatedId;

        this.objectRelatedIdSetted = true;

        this.setObjectRelatedIdNull(false);
    }

    /**
     * Get objectRelatedId Has Been Setted
     *
     * @return boolean
     */
    final public boolean isObjectRelatedIdSetted() {
        return this.objectRelatedIdSetted;
    }

    /**
     * Set objectRelatedId Null
     *
     */
    final public void setObjectRelatedIdNull() {
        this.objectRelatedIdNull = true;
    }

    final public void setObjectRelatedIdNull(boolean aNullFlag) {
        this.objectRelatedIdNull = aNullFlag;
    }

    final public boolean isObjectRelatedIdNull() {
        return this.objectRelatedIdNull;
    }

    /**
         * Get relatedPropertyName
         *
         * @return String
         */
    final public String getRelatedPropertyName() {
        if (isRelatedPropertyNameNull()) {
            return null;
        } else {
            return StringUtils.trim(relatedPropertyName);
        }
    }

    /**
     * Set relatedPropertyName
     *
     * @param String
     */
    final public void setRelatedPropertyName(String relatedPropertyName) {
        this.relatedPropertyName = StringUtils.trim(relatedPropertyName);

        this.relatedPropertyNameSetted = true;

        this.setRelatedPropertyNameNull(this.relatedPropertyName == null);
    }

    /**
     * Get relatedPropertyName Has Been Setted
     *
     * @return boolean
     */
    final public boolean isRelatedPropertyNameSetted() {
        return this.relatedPropertyNameSetted;
    }

    /**
     * Set relatedPropertyName Null
     *
     */
    final public void setRelatedPropertyNameNull() {
        this.relatedPropertyNameNull = true;
    }

    final public void setRelatedPropertyNameNull(boolean aNullFlag) {
        this.relatedPropertyNameNull = aNullFlag;
    }

    final public boolean isRelatedPropertyNameNull() {
        return this.relatedPropertyNameNull;
    }

    /**
         * Get relatedPropertyDataType
         *
         * @return String
         */
    final public String getRelatedPropertyDataType() {
        if (isRelatedPropertyDataTypeNull()) {
            return null;
        } else {
            return StringUtils.trim(relatedPropertyDataType);
        }
    }

    /**
     * Set relatedPropertyDataType
     *
     * @param String
     */
    final public void setRelatedPropertyDataType(String relatedPropertyDataType) {
        this.relatedPropertyDataType = StringUtils.trim(relatedPropertyDataType);

        this.relatedPropertyDataTypeSetted = true;

        this.setRelatedPropertyDataTypeNull(this.relatedPropertyDataType == null);
    }

    /**
     * Get relatedPropertyDataType Has Been Setted
     *
     * @return boolean
     */
    final public boolean isRelatedPropertyDataTypeSetted() {
        return this.relatedPropertyDataTypeSetted;
    }

    /**
     * Set relatedPropertyDataType Null
     *
     */
    final public void setRelatedPropertyDataTypeNull() {
        this.relatedPropertyDataTypeNull = true;
    }

    final public void setRelatedPropertyDataTypeNull(boolean aNullFlag) {
        this.relatedPropertyDataTypeNull = aNullFlag;
    }

    final public boolean isRelatedPropertyDataTypeNull() {
        return this.relatedPropertyDataTypeNull;
    }

    /**
         * Get relatedPropertyDataTypeId
         *
         * @return long
         */
    final public long getRelatedPropertyDataTypeId() {
        return relatedPropertyDataTypeId;
    }

    /**
     * Set relatedPropertyDataTypeId
     *
     * @param long
     */
    final public void setRelatedPropertyDataTypeId(
        long relatedPropertyDataTypeId) {
        this.relatedPropertyDataTypeId = relatedPropertyDataTypeId;

        this.relatedPropertyDataTypeIdSetted = true;

        this.setRelatedPropertyDataTypeIdNull(false);
    }

    /**
     * Get relatedPropertyDataTypeId Has Been Setted
     *
     * @return boolean
     */
    final public boolean isRelatedPropertyDataTypeIdSetted() {
        return this.relatedPropertyDataTypeIdSetted;
    }

    /**
     * Set relatedPropertyDataTypeId Null
     *
     */
    final public void setRelatedPropertyDataTypeIdNull() {
        this.relatedPropertyDataTypeIdNull = true;
    }

    final public void setRelatedPropertyDataTypeIdNull(boolean aNullFlag) {
        this.relatedPropertyDataTypeIdNull = aNullFlag;
    }

    final public boolean isRelatedPropertyDataTypeIdNull() {
        return this.relatedPropertyDataTypeIdNull;
    }

    /**
         * Get relatedPropertyDataLength
         *
         * @return int
         */
    final public int getRelatedPropertyDataLength() {
        return relatedPropertyDataLength;
    }

    /**
     * Set relatedPropertyDataLength
     *
     * @param int
     */
    final public void setRelatedPropertyDataLength(
        int relatedPropertyDataLength) {
        this.relatedPropertyDataLength = relatedPropertyDataLength;

        this.relatedPropertyDataLengthSetted = true;

        this.setRelatedPropertyDataLengthNull(false);
    }

    /**
     * Get relatedPropertyDataLength Has Been Setted
     *
     * @return boolean
     */
    final public boolean isRelatedPropertyDataLengthSetted() {
        return this.relatedPropertyDataLengthSetted;
    }

    /**
     * Set relatedPropertyDataLength Null
     *
     */
    final public void setRelatedPropertyDataLengthNull() {
        this.relatedPropertyDataLengthNull = true;
    }

    final public void setRelatedPropertyDataLengthNull(boolean aNullFlag) {
        this.relatedPropertyDataLengthNull = aNullFlag;
    }

    final public boolean isRelatedPropertyDataLengthNull() {
        return this.relatedPropertyDataLengthNull;
    }

    /**
         * Get relatedPropertyDataAccuracy
         *
         * @return int
         */
    final public int getRelatedPropertyDataAccuracy() {
        return relatedPropertyDataAccuracy;
    }

    /**
     * Set relatedPropertyDataAccuracy
     *
     * @param int
     */
    final public void setRelatedPropertyDataAccuracy(
        int relatedPropertyDataAccuracy) {
        this.relatedPropertyDataAccuracy = relatedPropertyDataAccuracy;

        this.relatedPropertyDataAccuracySetted = true;

        this.setRelatedPropertyDataAccuracyNull(false);
    }

    /**
     * Get relatedPropertyDataAccuracy Has Been Setted
     *
     * @return boolean
     */
    final public boolean isRelatedPropertyDataAccuracySetted() {
        return this.relatedPropertyDataAccuracySetted;
    }

    /**
     * Set relatedPropertyDataAccuracy Null
     *
     */
    final public void setRelatedPropertyDataAccuracyNull() {
        this.relatedPropertyDataAccuracyNull = true;
    }

    final public void setRelatedPropertyDataAccuracyNull(boolean aNullFlag) {
        this.relatedPropertyDataAccuracyNull = aNullFlag;
    }

    final public boolean isRelatedPropertyDataAccuracyNull() {
        return this.relatedPropertyDataAccuracyNull;
    }

    /**
         * Get relatedPropertyIsAllowNull
         *
         * @return String
         */
    final public String getRelatedPropertyIsAllowNull() {
        if (isRelatedPropertyIsAllowNullNull()) {
            return null;
        } else {
            return StringUtils.trim(relatedPropertyIsAllowNull);
        }
    }

    /**
     * Set relatedPropertyIsAllowNull
     *
     * @param String
     */
    final public void setRelatedPropertyIsAllowNull(
        String relatedPropertyIsAllowNull) {
        this.relatedPropertyIsAllowNull = StringUtils.trim(relatedPropertyIsAllowNull);

        this.relatedPropertyIsAllowNullSetted = true;

        this.setRelatedPropertyIsAllowNullNull(this.relatedPropertyIsAllowNull == null);
    }

    /**
     * Get relatedPropertyIsAllowNull Has Been Setted
     *
     * @return boolean
     */
    final public boolean isRelatedPropertyIsAllowNullSetted() {
        return this.relatedPropertyIsAllowNullSetted;
    }

    /**
     * Set relatedPropertyIsAllowNull Null
     *
     */
    final public void setRelatedPropertyIsAllowNullNull() {
        this.relatedPropertyIsAllowNullNull = true;
    }

    final public void setRelatedPropertyIsAllowNullNull(boolean aNullFlag) {
        this.relatedPropertyIsAllowNullNull = aNullFlag;
    }

    final public boolean isRelatedPropertyIsAllowNullNull() {
        return this.relatedPropertyIsAllowNullNull;
    }

    /**
         * Get relatedPropertyisPrimaryKey
         *
         * @return String
         */
    final public String getRelatedPropertyisPrimaryKey() {
        if (isRelatedPropertyisPrimaryKeyNull()) {
            return null;
        } else {
            return StringUtils.trim(relatedPropertyisPrimaryKey);
        }
    }

    /**
     * Set relatedPropertyisPrimaryKey
     *
     * @param String
     */
    final public void setRelatedPropertyisPrimaryKey(
        String relatedPropertyisPrimaryKey) {
        this.relatedPropertyisPrimaryKey = StringUtils.trim(relatedPropertyisPrimaryKey);

        this.relatedPropertyisPrimaryKeySetted = true;

        this.setRelatedPropertyisPrimaryKeyNull(this.relatedPropertyisPrimaryKey == null);
    }

    /**
     * Get relatedPropertyisPrimaryKey Has Been Setted
     *
     * @return boolean
     */
    final public boolean isRelatedPropertyisPrimaryKeySetted() {
        return this.relatedPropertyisPrimaryKeySetted;
    }

    /**
     * Set relatedPropertyisPrimaryKey Null
     *
     */
    final public void setRelatedPropertyisPrimaryKeyNull() {
        this.relatedPropertyisPrimaryKeyNull = true;
    }

    final public void setRelatedPropertyisPrimaryKeyNull(boolean aNullFlag) {
        this.relatedPropertyisPrimaryKeyNull = aNullFlag;
    }

    final public boolean isRelatedPropertyisPrimaryKeyNull() {
        return this.relatedPropertyisPrimaryKeyNull;
    }

    /**
         * Get relatedPropertyIsAutoInc
         *
         * @return String
         */
    final public String getRelatedPropertyIsAutoInc() {
        if (isRelatedPropertyIsAutoIncNull()) {
            return null;
        } else {
            return StringUtils.trim(relatedPropertyIsAutoInc);
        }
    }

    /**
     * Set relatedPropertyIsAutoInc
     *
     * @param String
     */
    final public void setRelatedPropertyIsAutoInc(
        String relatedPropertyIsAutoInc) {
        this.relatedPropertyIsAutoInc = StringUtils.trim(relatedPropertyIsAutoInc);

        this.relatedPropertyIsAutoIncSetted = true;

        this.setRelatedPropertyIsAutoIncNull(this.relatedPropertyIsAutoInc == null);
    }

    /**
     * Get relatedPropertyIsAutoInc Has Been Setted
     *
     * @return boolean
     */
    final public boolean isRelatedPropertyIsAutoIncSetted() {
        return this.relatedPropertyIsAutoIncSetted;
    }

    /**
     * Set relatedPropertyIsAutoInc Null
     *
     */
    final public void setRelatedPropertyIsAutoIncNull() {
        this.relatedPropertyIsAutoIncNull = true;
    }

    final public void setRelatedPropertyIsAutoIncNull(boolean aNullFlag) {
        this.relatedPropertyIsAutoIncNull = aNullFlag;
    }

    final public boolean isRelatedPropertyIsAutoIncNull() {
        return this.relatedPropertyIsAutoIncNull;
    }

    /**
         * Get relatedPropertyObjectId
         *
         * @return long
         */
    final public long getRelatedPropertyObjectId() {
        return relatedPropertyObjectId;
    }

    /**
     * Set relatedPropertyObjectId
     *
     * @param long
     */
    final public void setRelatedPropertyObjectId(long relatedPropertyObjectId) {
        this.relatedPropertyObjectId = relatedPropertyObjectId;

        this.relatedPropertyObjectIdSetted = true;

        this.setRelatedPropertyObjectIdNull(false);
    }

    /**
     * Get relatedPropertyObjectId Has Been Setted
     *
     * @return boolean
     */
    final public boolean isRelatedPropertyObjectIdSetted() {
        return this.relatedPropertyObjectIdSetted;
    }

    /**
     * Set relatedPropertyObjectId Null
     *
     */
    final public void setRelatedPropertyObjectIdNull() {
        this.relatedPropertyObjectIdNull = true;
    }

    final public void setRelatedPropertyObjectIdNull(boolean aNullFlag) {
        this.relatedPropertyObjectIdNull = aNullFlag;
    }

    final public boolean isRelatedPropertyObjectIdNull() {
        return this.relatedPropertyObjectIdNull;
    }

    /**
         * Get relatedPropertyObjectName
         *
         * @return String
         */
    final public String getRelatedPropertyObjectName() {
        if (isRelatedPropertyObjectNameNull()) {
            return null;
        } else {
            return StringUtils.trim(relatedPropertyObjectName);
        }
    }

    /**
     * Set relatedPropertyObjectName
     *
     * @param String
     */
    final public void setRelatedPropertyObjectName(
        String relatedPropertyObjectName) {
        this.relatedPropertyObjectName = StringUtils.trim(relatedPropertyObjectName);

        this.relatedPropertyObjectNameSetted = true;

        this.setRelatedPropertyObjectNameNull(this.relatedPropertyObjectName == null);
    }

    /**
     * Get relatedPropertyObjectName Has Been Setted
     *
     * @return boolean
     */
    final public boolean isRelatedPropertyObjectNameSetted() {
        return this.relatedPropertyObjectNameSetted;
    }

    /**
     * Set relatedPropertyObjectName Null
     *
     */
    final public void setRelatedPropertyObjectNameNull() {
        this.relatedPropertyObjectNameNull = true;
    }

    final public void setRelatedPropertyObjectNameNull(boolean aNullFlag) {
        this.relatedPropertyObjectNameNull = aNullFlag;
    }

    final public boolean isRelatedPropertyObjectNameNull() {
        return this.relatedPropertyObjectNameNull;
    }

    /**
         * Get relatedPropertyObjectType
         *
         * @return String
         */
    final public String getRelatedPropertyObjectType() {
        if (isRelatedPropertyObjectTypeNull()) {
            return null;
        } else {
            return StringUtils.trim(relatedPropertyObjectType);
        }
    }

    /**
     * Set relatedPropertyObjectType
     *
     * @param String
     */
    final public void setRelatedPropertyObjectType(
        String relatedPropertyObjectType) {
        this.relatedPropertyObjectType = StringUtils.trim(relatedPropertyObjectType);

        this.relatedPropertyObjectTypeSetted = true;

        this.setRelatedPropertyObjectTypeNull(this.relatedPropertyObjectType == null);
    }

    /**
     * Get relatedPropertyObjectType Has Been Setted
     *
     * @return boolean
     */
    final public boolean isRelatedPropertyObjectTypeSetted() {
        return this.relatedPropertyObjectTypeSetted;
    }

    /**
     * Set relatedPropertyObjectType Null
     *
     */
    final public void setRelatedPropertyObjectTypeNull() {
        this.relatedPropertyObjectTypeNull = true;
    }

    final public void setRelatedPropertyObjectTypeNull(boolean aNullFlag) {
        this.relatedPropertyObjectTypeNull = aNullFlag;
    }

    final public boolean isRelatedPropertyObjectTypeNull() {
        return this.relatedPropertyObjectTypeNull;
    }

    /**
         * Get propertyName
         *
         * @return String
         */
    final public String getPropertyName() {
        if (isPropertyNameNull()) {
            return null;
        } else {
            return StringUtils.trim(propertyName);
        }
    }

    /**
     * Set propertyName
     *
     * @param String
     */
    final public void setPropertyName(String propertyName) {
        this.propertyName = StringUtils.trim(propertyName);

        this.propertyNameSetted = true;

        this.setPropertyNameNull(this.propertyName == null);
    }

    /**
     * Get propertyName Has Been Setted
     *
     * @return boolean
     */
    final public boolean isPropertyNameSetted() {
        return this.propertyNameSetted;
    }

    /**
     * Set propertyName Null
     *
     */
    final public void setPropertyNameNull() {
        this.propertyNameNull = true;
    }

    final public void setPropertyNameNull(boolean aNullFlag) {
        this.propertyNameNull = aNullFlag;
    }

    final public boolean isPropertyNameNull() {
        return this.propertyNameNull;
    }

    /**
         * Get propertyObjectId
         *
         * @return long
         */
    final public long getPropertyObjectId() {
        return propertyObjectId;
    }

    /**
     * Set propertyObjectId
     *
     * @param long
     */
    final public void setPropertyObjectId(long propertyObjectId) {
        this.propertyObjectId = propertyObjectId;

        this.propertyObjectIdSetted = true;

        this.setPropertyObjectIdNull(false);
    }

    /**
     * Get propertyObjectId Has Been Setted
     *
     * @return boolean
     */
    final public boolean isPropertyObjectIdSetted() {
        return this.propertyObjectIdSetted;
    }

    /**
     * Set propertyObjectId Null
     *
     */
    final public void setPropertyObjectIdNull() {
        this.propertyObjectIdNull = true;
    }

    final public void setPropertyObjectIdNull(boolean aNullFlag) {
        this.propertyObjectIdNull = aNullFlag;
    }

    final public boolean isPropertyObjectIdNull() {
        return this.propertyObjectIdNull;
    }

    /**
         * Get propertyDataType
         *
         * @return String
         */
    final public String getPropertyDataType() {
        if (isPropertyDataTypeNull()) {
            return null;
        } else {
            return StringUtils.trim(propertyDataType);
        }
    }

    /**
     * Set propertyDataType
     *
     * @param String
     */
    final public void setPropertyDataType(String propertyDataType) {
        this.propertyDataType = StringUtils.trim(propertyDataType);

        this.propertyDataTypeSetted = true;

        this.setPropertyDataTypeNull(this.propertyDataType == null);
    }

    /**
     * Get propertyDataType Has Been Setted
     *
     * @return boolean
     */
    final public boolean isPropertyDataTypeSetted() {
        return this.propertyDataTypeSetted;
    }

    /**
     * Set propertyDataType Null
     *
     */
    final public void setPropertyDataTypeNull() {
        this.propertyDataTypeNull = true;
    }

    final public void setPropertyDataTypeNull(boolean aNullFlag) {
        this.propertyDataTypeNull = aNullFlag;
    }

    final public boolean isPropertyDataTypeNull() {
        return this.propertyDataTypeNull;
    }

    /**
         * Get propertyObjectName
         *
         * @return String
         */
    final public String getPropertyObjectName() {
        if (isPropertyObjectNameNull()) {
            return null;
        } else {
            return StringUtils.trim(propertyObjectName);
        }
    }

    /**
     * Set propertyObjectName
     *
     * @param String
     */
    final public void setPropertyObjectName(String propertyObjectName) {
        this.propertyObjectName = StringUtils.trim(propertyObjectName);

        this.propertyObjectNameSetted = true;

        this.setPropertyObjectNameNull(this.propertyObjectName == null);
    }

    /**
     * Get propertyObjectName Has Been Setted
     *
     * @return boolean
     */
    final public boolean isPropertyObjectNameSetted() {
        return this.propertyObjectNameSetted;
    }

    /**
     * Set propertyObjectName Null
     *
     */
    final public void setPropertyObjectNameNull() {
        this.propertyObjectNameNull = true;
    }

    final public void setPropertyObjectNameNull(boolean aNullFlag) {
        this.propertyObjectNameNull = aNullFlag;
    }

    final public boolean isPropertyObjectNameNull() {
        return this.propertyObjectNameNull;
    }

    /**
         * Get propertyObjectType
         *
         * @return String
         */
    final public String getPropertyObjectType() {
        if (isPropertyObjectTypeNull()) {
            return null;
        } else {
            return StringUtils.trim(propertyObjectType);
        }
    }

    /**
     * Set propertyObjectType
     *
     * @param String
     */
    final public void setPropertyObjectType(String propertyObjectType) {
        this.propertyObjectType = StringUtils.trim(propertyObjectType);

        this.propertyObjectTypeSetted = true;

        this.setPropertyObjectTypeNull(this.propertyObjectType == null);
    }

    /**
     * Get propertyObjectType Has Been Setted
     *
     * @return boolean
     */
    final public boolean isPropertyObjectTypeSetted() {
        return this.propertyObjectTypeSetted;
    }

    /**
     * Set propertyObjectType Null
     *
     */
    final public void setPropertyObjectTypeNull() {
        this.propertyObjectTypeNull = true;
    }

    final public void setPropertyObjectTypeNull(boolean aNullFlag) {
        this.propertyObjectTypeNull = aNullFlag;
    }

    final public boolean isPropertyObjectTypeNull() {
        return this.propertyObjectTypeNull;
    }

    public int hashCode() {
        final int prime = 31;
        int result = 1;

        result = (prime * result) + (int) (getId() ^ (getId() >>> 32));

        return result;
    }

    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }

        if ((obj instanceof ProductModelPropertyRelate) == false) {
            return false;
        }

        ProductModelPropertyRelate other = (ProductModelPropertyRelate) obj;

        if (getId() != other.getId()) {
            return false;
        }

        return true;
    }

    public String toString() {
        StringBuffer buffer = new StringBuffer();

        buffer.append("[");

        buffer.append("id=");
        buffer.append(this.id);

        buffer.append("relateCode=");
        buffer.append(this.relateCode);

        buffer.append("relateName=");
        buffer.append(this.relateName);

        buffer.append("propertyId=");
        buffer.append(this.propertyId);

        buffer.append("relatedPropertyId=");
        buffer.append(this.relatedPropertyId);

        buffer.append("relatedType=");
        buffer.append(this.relatedType);

        buffer.append("relatedConfig=");
        buffer.append(this.relatedConfig);

        buffer.append("sortIndex=");
        buffer.append(this.sortIndex);

        buffer.append("status=");
        buffer.append(this.status);

        buffer.append("remarks=");
        buffer.append(this.remarks);

        buffer.append("relatedPropertyName=");
        buffer.append(this.relatedPropertyName);

        buffer.append("relatedPropertyDataType=");
        buffer.append(this.relatedPropertyDataType);

        buffer.append("relatedPropertyDataTypeId=");
        buffer.append(this.relatedPropertyDataTypeId);

        buffer.append("relatedPropertyDataLength=");
        buffer.append(this.relatedPropertyDataLength);

        buffer.append("relatedPropertyDataAccuracy=");
        buffer.append(this.relatedPropertyDataAccuracy);

        buffer.append("relatedPropertyIsAllowNull=");
        buffer.append(this.relatedPropertyIsAllowNull);

        buffer.append("relatedPropertyisPrimaryKey=");
        buffer.append(this.relatedPropertyisPrimaryKey);

        buffer.append("relatedPropertyIsAutoInc=");
        buffer.append(this.relatedPropertyIsAutoInc);

        buffer.append("relatedPropertyObjectId=");
        buffer.append(this.relatedPropertyObjectId);

        buffer.append("relatedPropertyObjectName=");
        buffer.append(this.relatedPropertyObjectName);

        buffer.append("objectRelatedId=");
        buffer.append(this.objectRelatedId);

        buffer.append("relatedPropertyObjectType=");
        buffer.append(this.relatedPropertyObjectType);

        buffer.append("propertyName=");
        buffer.append(this.propertyName);

        buffer.append("propertyObjectId=");
        buffer.append(this.propertyObjectId);

        buffer.append("propertyObjectName=");
        buffer.append(this.propertyObjectName);

        buffer.append("propertyObjectType=");
        buffer.append(this.propertyObjectType);

        buffer.append("propertyDataType=");
        buffer.append(this.propertyDataType);

        buffer.append("]");

        return buffer.toString();
    }
}
